import request from '@/utils/request'
//借款管理API
export default {
    //3、审批借款
    borrowApproval(borrowInfoApproval){
        return request({
            url:'/admin/core/lend/approval',
            method:'POST',
            data:borrowInfoApproval
        })
    },
        //2、查询借款详情
    getBorrowDetailById(borrowInfoId){
        return request({
            url:`/admin/core/borrowInfo/${borrowInfoId}`,
            method:'GET'
        })
    },
    //1、查询借款列表
    list(){
        return request({
            url:`/admin/core/borrowInfo`,
            method:'GET'
        })
    }
}